package com.longrise.android.byjk.plugins.hra.pay;

import com.longrise.common.base.BasePresenter;
import com.longrise.common.base.BaseView;


/**
 * Created by callxkj on 2018/1/24.
 * hra支付
 */

public interface HraPaymentContract {


    interface View extends BaseView {

        public void showWxPayErrorDialog();

        public void showAliPayErrorDialog();

        void toShowDiscountCoupon(boolean isHas);

        public void showPaySuccess(boolean isDiscountpay);

        public void showNotBackWaitDialog();

        public void dismissNotBackDialog();

        public void showPayError();
    }

    abstract class Presenter extends BasePresenter<View> {

        public abstract void toGetDiscountInfo(String cardno);

        public abstract void toWxpay(String orderid);

        public abstract void toAlipay(String orderid);

        public abstract void toDiscountpay(String orderid);

    }

}
